package com.egao.common.module.home.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 首页统计模型
 * @author lym
 * @date 2022/1/7 11:23
 */
@Data
public class HomeResult implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("总数")
    private Integer total;

    @ApiModelProperty("本月总数")
    private Integer monthTotal;

    @ApiModelProperty("去年本月总数")
    private Integer lastMonthTotal;

    @ApiModelProperty("去年本月月同比")
    private String ratio;
}
